# Makefile for cygwin gcc
# Wang Wen, Albert <jawangwen@gmail.com>

TARGET = lib.a
OBJECT = $(patsubst %.c,%.o,$(wildcard ${DIR_AGILE}/*.c)) \
         $(patsubst %.c,%.o,$(wildcard ${DIR_CMOCKERY}/*.c))

DIR_AGILE    := lib_agile
DIR_CMOCKERY := lib_cmockery

$(TARGET): ${OBJECT}
	ar cru $@ $^

include library_rules.mk

.PHONY: clean
clean:
	-rm -f $(TARGET) ${OBJECT} *.o
